package yl.hs.bmipfull.viewmodels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author 谢景广
 * @category 用户登录模型
 */
@ApiModel(value = "用户登录信息", description = "用户登录时需提供用户名和密码")
public class LoginBean {

    @ApiModelProperty(name = "account", required = true, value = "登录账户")
    private String account;
    @ApiModelProperty(name = "password", required = true, value = "登录密码")
    private String password;
    @ApiModelProperty(name = "password", required = false, value = "登录密码")
    private String phoneCode;
    @ApiModelProperty(name = "openid", required = false, value = "openid")
    private String openid;
    @ApiModelProperty(name = "companyid", required = false, value = "企业编号")
    private String companyid;

    public String getCompanyid() {
        return companyid;
    }

    public void setCompanyid(String companyid) {
        this.companyid = companyid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    /**
     * 获取用户登录账户
     *
     * @return 登录账户
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置用户登录账户
     *
     * @param account 登录账户
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取用户登录密码
     *
     * @return 登录密码
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置用户登录密码
     *
     * @param password 登录密码
     */
    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoneCode() {
        return phoneCode;
    }

    public void setPhoneCode(String phoneCode) {
        this.phoneCode = phoneCode;
    }
}
